<template>
    <div>
        <h1>
            新闻详情
        </h1>
        {{$route.params.id}}
    </div>
</template>
<script>
export default {
    data(){
        return{

        }
    },
    mounted(){
        console.log(this.$route)
    }
}
</script>